﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Collections.ObjectModel;

namespace ScrumBoard
{
  public class StoryVM : ViewModelBase
  {
    public string Name
    {
      get { return _Name; }
      set
      {
        if (_Name != value)
        {
          _Name = value;
          RaisePropertyChanged("Name");
        }
      }
    }
    private string _Name;


    public string Description
    {
      get { return _Description; }
      set
      {
        if (_Description != value)
        {
          _Description = value;
          RaisePropertyChanged("Description");
        }
      }
    }
    private string _Description;

   
    public ObservableCollection<TaskVM> Tasks { get; set; }
    public ObservableCollection<TextNodeVM> Comments { get; set; }
    
    public StoryVM()
    {
      Tasks = new ObservableCollection<TaskVM>();
      Comments = new ObservableCollection<TextNodeVM>();
    }
  }
}
